import { Tree } from "antd";
import "./index.less";
import type { TreeDataNode, TreeProps } from "antd";
import Table from "./components/table";
const treeData: TreeDataNode[] = [
	{
		title: "中国联合工程",
		key: "0-0",
		children: [
			{
				title: "一部",
				key: "0-0-0",
				children: [
					{
						title: "市场部",
						key: "0-0-0-0"
					},
					{
						title: "运营部",
						key: "0-0-0-1"
					},
					{
						title: "采购部",
						key: "0-0-0-2"
					},
					{
						title: "财务部",
						key: "0-0-0-3"
					},
					{
						title: "法务部",
						key: "0-0-0-4"
					}
				]
			},
			{
				title: "二部",
				key: "0-0-1"
			},
			{
				title: "三部",
				key: "0-0-2"
			},
			{
				title: "后勤部",
				key: "0-0-3"
			}
		]
	}
];

const Home = () => {

	return (
		<div className="home card">
			<div className="table-ctx">
				<Table />
			</div>
		</div>
	);
};

export default Home;
